package com.lee.init.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @author youzh
 */
@Data
public class CustomerCreditRecord {

    private Long id;
    private String loginName;
    private Integer creditType;
    private String billNo;
    private BigDecimal amountBefore;
    private BigDecimal amountChange;
    private BigDecimal amountAfter;
    private String createBy;
    private Timestamp createTime;
    private String remark;

    public CustomerCreditRecord() {}

    public CustomerCreditRecord(String loginName, Integer creditType, String billNo, BigDecimal amountBefore, BigDecimal amountChange, BigDecimal amountAfter, String createBy) {
        this.loginName = loginName;
        this.creditType = creditType;
        this.billNo = billNo;
        this.amountBefore = amountBefore;
        this.amountChange = amountChange;
        this.amountAfter = amountAfter;
        this.createBy = createBy;
    }
}
